<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  <head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="copyright" content="Amitav Roy">
    <link rel="shortcut icon" href="<?php print base_url(); ?>assets/ico/favicon.ico" type="image/vnd.microsoft.icon" />

    <!--  adding the meta data  -->
    <?php if (isset($metadata) && is_array($metadata)): ?>
      <?php foreach ($metadata as $name => $content): ?>
      <meta name="<?php echo $name; ?>" content="<?php echo $content; ?>">
      <?php endforeach; ?>
    <?php endif; ?>

    <!--  adding the meta properties -->
    <?php if (isset($metaprop) && is_array($metaprop)): ?>
    <?php foreach ($metaprop as $name => $content): ?>
      <meta property="<?php echo $name; ?>" content="<?php echo $content; ?>">
      <?php endforeach; ?>
    <?php endif; ?>

    <meta name="viewport" content="width=device-width">

    <?php if(isset($pagetitle)): ?>
      <title><?php print $pagetitle; ?> &raquo; Amitav Roy</title>
    <?php else: ?>
      <title>My Programming blog, Tutorials, jQuery, PHP, Javascript &raquo; Amitav Roy</title>
    <?php endif; ?>

    <?php $this->carabiner->display('default','css'); ?>

    <script src="<?php echo base_url(); ?>assets/js/vendor/modernizr-2.6.2.min.js"></script>
    <script type="text/javascript">
      var base_url = "<?php echo base_url(); ?>";
    </script>

    <?php $this->carabiner->display('default','js'); ?>
    <?php $this->carabiner->display('js'); ?>

  </head>

  <body>

  <!--[if lt IE 7]>
  <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
  <![endif]-->

  <?php $this->load->view('pages/menu'); ?>

  <div class="container">